﻿@model IEnumerable<Propro.Models.Project>

@{
    ViewBag.Title = "My Projects";
}

<h2>My Projects</h2>

<table>
@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink(Html.DisplayFor(modelItem => item.Name).ToHtmlString(), "Details", "Projects" ,  new { id = item.ProjectId }, null)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ShortDescription)
        </td>
    </tr>
}

</table>
